<h3>Edit Entry</h3>
<?php if($this->isInvalid): ?>
    <p class="error">Some problems were detected with the submitted form.</p>
<?php endif; ?>

<?php if($this->isSaved): ?>
    <p class="success">Entry has been saved.</p>
<?php elseif($this->failedFind): ?>
    <p class="error">The entry could not be found in the database.</p>
<?php else: ?>
    <?php echo $this->entryForm ?>
<?php endif; ?>